package com.ayou.eggguard.farm.service;

import com.ayou.common.utils.PageBean;
import com.ayou.eggguard.farm.pojo.WarningConfig;

public interface WarningConfigService {
    PageBean<WarningConfig> getConfigList(Integer pageNum, Integer pageSize, String warningType);

    WarningConfig getConfigByName(String warningType);

    void add(WarningConfig warningConfig);
}
